#pragma once
class ObjMesh;
#include "util.h"
#include "TextWriter.h"
/**
* Writes an ObjMesh to an obj file.
* @author Koen Samyn
*/ 
class MeshToObjWriter:public TextWriter
{
public:
	MeshToObjWriter(tstring filename);
	virtual ~MeshToObjWriter(void);

	/**
	* Writes a mesh to an Obj file.
	* @param mesh the mesh to write.
	*/
	bool WriteMesh(ObjMesh* mesh);
};
